//
//  BaseViewController.h
//  Training
//
//  Created by michael shen on 15/6/15.
//  Copyright (c) 2015年 coolem. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum ViewStyle{
    localStyle,
    NewStyle
}ViewStyle;

typedef enum WaitingViewShowStyle{
    WaitingViewShowStyleFullScreen,
    WaitingViewShowStyleFullSelfView,
}WaitingViewShowStyle;

@interface BaseViewController : UIViewController{
    
}
@property (nonatomic) ViewStyle viewNewStyle;
- (void)showMessage:(NSString *)message autoDissmissAfterDelay:(NSTimeInterval) interval1;
- (void)showWaitingViewWithMessage:(NSString *)message style:(WaitingViewShowStyle)style;
- (void)dismissWaitingView;
- (void)performBlock:(void (^)(void))block afterDelay:(NSTimeInterval)delay;
-(void)showHelp;
//-(void)postImageToQiNiu:(UIImage*)image complete:(QNUpCompletionHandler)completionHandler;
//-(void)postListImageArray:(NSArray*)imageArray withBlock:(void(^)(NSArray *array)) block;
- (void)showMessage:(NSString *)message style:(WaitingViewShowStyle) style autoDissmissAfterDelay:(NSTimeInterval) interval1 finish:(void (^)())finish;
-(void)showMessageWithMigrantView;
-(void)dismissMigrantView;
-(UIImageView*)getBackImageView;
-(void)showNoResult;
-(void)startNewLoading;


@end
